package com.example.lf.mysatingbar;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.example.lf.mysatingbar.widget.MySatingBar;

public class MainActivity extends AppCompatActivity {
    private MySatingBar mySatingBar;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        mySatingBar = (MySatingBar) findViewById(R.id.sbv_starbar);

        //拿到当前星星的熟练
        mySatingBar.getStarMaxNumber();
    }
}
